<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery.js"></script>
</head>
<body>
    <h2>前台系统</h2>
    <p id="info"></p>
    <script>
        $.ajax({
            url:'http://localhost:80/hello',
            type:'post',
            success:function (data) {
                $("#info").html("跨域成功，得到数据："+data)
            },
            error:function (d) {
                $("#info").html("跨域失败。。。")
            }
        })
    </script>
</body>

</html>